using System;

namespace FogBugz.Bridge
{
    public class ApiSettings
    {
        public string Username { get; private set; }
        public string Password { get; private set; }
        public string EndPointBase { get; private set; }

        public ApiSettings(string username, string password, string endPointBase)
        {
            if (username == null) throw new ArgumentNullException("username");
            if (password == null) throw new ArgumentNullException("password");
            if (endPointBase == null) throw new ArgumentNullException("endPointBase");
            Username = username;
            Password = password;
            EndPointBase = endPointBase;
        }
    }
}